<script setup>
</script>
<template>
<div class="buttom-box">
    <div class="container">
      <p>版权声明：本网站所有内容均受版权保护，未经授权禁止转载、摘编或以任何方式使用。</p>
      <p>联系我们：<el-link type="danger" @click="copyToClipboard('2938520740@qq.com')" href="https://mail.qq.com/cgi-bin/frame_html">QQ邮箱</el-link></p>
    </div>
    
</div>
</template>
<style>
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.buttom-box {
    width: 82vw;
    height: 8vh;
    background-color: #2e4e7e;
    position: relative;
    left: 7%;
    text-align: center;
    padding-top: 0.9vh;
    color: azure;
}

</style>

<script setup>
function copyToClipboard(value) {
    const input = document.createElement('input');
    input.setAttribute('value', value);
    document.body.appendChild(input);
    input.select();
    document.execCommand('copy');
    document.body.removeChild(input);
    
  }
  </script>